package cn.yuanqiao.archive.wenjianzhengli.utils.convert;

import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

public final class ProgressHolder {
    private ProgressHolder(){}
    private static final ConcurrentMap<String, String> progressMap = new ConcurrentHashMap<>();

    public static void put(String uuid, String message) {
        progressMap.put(uuid, message);
    }

    public static String get(String uuid) {
        return progressMap.get(uuid);
    }
}
